From dc1a979d016bf7da3007ac94601eb390d05c39e0 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Fri, 24 Jan 2020 14:21:47 +0100 Subject: [PATCH] update patch --- debian/patches/0001-Fix-PCL_ROOT-path.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch index 71a6b979..5e317db9 100644 --- a/debian/patches/0001-Fix-PCL_ROOT-path.patch +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -7,15 +7,15 @@ Subject: Fix PCL_ROOT path 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in -index 6fadb59..3443905 100644 +index 9f78fcf..91e6ebd 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in -@@ -393,7 +393,7 @@ if(WIN32 AND NOT MINGW) +@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW) get_filename_component(PCL_ROOT "${PCL_DIR}" PATH) - else(WIN32 AND NOT MINGW) + else() # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y - get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) - endif(WIN32 AND NOT MINGW) + endif() # check whether PCLConfig.cmake is found into a PCL installation or in a build tree -- 2.30.2